package org.jeecg.modules.plan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.plan.entity.PlanInfoDetail;
import org.jeecg.modules.plan.entity.PlanInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 计划表
 * @Author: jeecg-boot
 * @Date:   2021-08-14
 * @Version: V1.0
 */
public interface IPlanInfoService extends IService<PlanInfo> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(PlanInfo planInfo,List<PlanInfoDetail> planInfoDetailList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(PlanInfo planInfo,List<PlanInfoDetail> planInfoDetailList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	IPage<PlanInfo> auditList(String orgCode, String realname, String planTile, IPage page);
}
